package com.example.xpvideo.entity;

import java.math.BigDecimal;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * (LsGoods)实体类
 *
 * @author 
 * @since 2021-09-18 11:34:07
 */
@ApiModel("$tableInfo.comment")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LsGoods implements Serializable {
    private static final long serialVersionUID = 203252893028737079L;
        /**
    *主键
    * ${column.comment}
    * isnull 1
    */
    @ApiModelProperty(value="$column.comment",position=1)
    private Integer id;

    /**
    * 商品名称
    * isnull 0
    */        @ApiModelProperty(value="商品名称",position=2)
    private String name;
    /**
    * 商品编码
    * isnull 0
    */        @ApiModelProperty(value="商品编码",position=3)
    private String code;
    /**
    * 商家id
    * isnull 0
    */        @ApiModelProperty(value="商家id",position=4)
    private Integer shopId;
    /**
    * 商家商品分类id
    * isnull 0
    */        @ApiModelProperty(value="商家商品分类id",position=5)
    private Integer shopCateId;
    /**
    * 平台商品一级分类id
    * isnull 0
    */        @ApiModelProperty(value="平台商品一级分类id",position=6)
    private Integer firstCateId;
    /**
    * 平台商品二级分类id
    * isnull 0
    */        @ApiModelProperty(value="平台商品二级分类id",position=7)
    private Integer secondCateId;
    /**
    * 平台商品三级分类id
    * isnull 0
    */        @ApiModelProperty(value="平台商品三级分类id",position=8)
    private Integer thirdCateId;
    /**
    * 品牌id
    * isnull 0
    */        @ApiModelProperty(value="品牌id",position=9)
    private Integer brandId;
    /**
    * 商品单位id
    * isnull 0
    */        @ApiModelProperty(value="商品单位id",position=10)
    private Integer unitId;
    /**
    * 供应商id
    * isnull 0
    */        @ApiModelProperty(value="供应商id",position=11)
    private Integer supplierId;
    /**
    * 销售状态: 0-仓库中；1-上架中
    * isnull 0
    */        @ApiModelProperty(value="销售状态: 0-仓库中；1-上架中",position=12)
    private Object status;
    /**
    * 商品主图
    * isnull 0
    */        @ApiModelProperty(value="商品主图",position=13)
    private String image;
    /**
    * 商品视频
    * isnull 0
    */        @ApiModelProperty(value="商品视频",position=14)
    private String video;
    /**
    * 商品简介
    * isnull 0
    */        @ApiModelProperty(value="商品简介",position=15)
    private String remark;
    /**
    * 商品详细描述
    * isnull 0
    */        @ApiModelProperty(value="商品详细描述",position=16)
    private String content;
    /**
    * 排序,值越小越靠前
    * isnull 0
    */        @ApiModelProperty(value="排序,值越小越靠前",position=17)
    private Integer sort;
    /**
    * 实际销量
    * isnull 0
    */        @ApiModelProperty(value="实际销量",position=18)
    private Integer salesActual;
    /**
    * 点击量
    * isnull 0
    */        @ApiModelProperty(value="点击量",position=19)
    private Integer clicks;
    /**
    * 商品规格:1-统一规格；2-多规格；
    * isnull 0
    */        @ApiModelProperty(value="商品规格:1-统一规格；2-多规格；",position=20)
    private Object specType;
    /**
    * 最高价格(SKU中最高价)
    * isnull 0
    */        @ApiModelProperty(value="最高价格(SKU中最高价)",position=21)
    private BigDecimal maxPrice;
    /**
    * 最低价格(SKU中最低价)
    * isnull 0
    */        @ApiModelProperty(value="最低价格(SKU中最低价)",position=22)
    private BigDecimal minPrice;
    /**
    * 市场价(商品吊牌价/划线价)
    * isnull 0
    */        @ApiModelProperty(value="市场价(商品吊牌价/划线价)",position=23)
    private BigDecimal marketPrice;
    /**
    * 总库存
    * isnull 0
    */        @ApiModelProperty(value="总库存",position=24)
    private Integer stock;
    /**
    * 运费类型：1-包邮；2-统一运费；3-运费模板
    * isnull 0
    */        @ApiModelProperty(value="运费类型：1-包邮；2-统一运费；3-运费模板",position=25)
    private Object expressType;
    /**
    * 统一运费金额
    * isnull 0
    */        @ApiModelProperty(value="统一运费金额",position=26)
    private BigDecimal expressMoney;
    /**
    * 运费模板
    * isnull 0
    */        @ApiModelProperty(value="运费模板",position=27)
    private Integer expressTemplateId;
    /**
    * 是否商品推荐 0-否 1-是
    * isnull 0
    */        @ApiModelProperty(value="是否商品推荐 0-否 1-是",position=28)
    private Object isRecommend;
    /**
    * 审核状态 0-待审核;1-审核通过;2-审核失败
    * isnull 0
    */        @ApiModelProperty(value="审核状态 0-待审核;1-审核通过;2-审核失败",position=29)
    private Object auditStatus;
    /**
    * 审核备注
    * isnull 0
    */        @ApiModelProperty(value="审核备注",position=30)
    private String auditRemark;
    /**
    * 商品创建时间
    * isnull 0
    */        @ApiModelProperty(value="商品创建时间",position=31)
    private Integer createTime;
    /**
    * 商品更新时间
    * isnull 0
    */        @ApiModelProperty(value="商品更新时间",position=32)
    private Integer updateTime;
    /**
    * 删除状态 0-正常 1-已删除 2-回收站
    * isnull 0
    */        @ApiModelProperty(value="删除状态 0-正常 1-已删除 2-回收站",position=33)
    private Object del;
    /**
    * 库存预警
    * isnull 0
    */        @ApiModelProperty(value="库存预警",position=34)
    private Integer stockWarn;
    /**
    * 商品栏目,多个用逗号分隔
    * isnull 0
    */        @ApiModelProperty(value="商品栏目,多个用逗号分隔",position=35)
    private String columnIds;
    /**
    * 虚拟销量
    * isnull 0
    */        @ApiModelProperty(value="虚拟销量",position=36)
    private Integer salesVirtual;
    /**
    * 商品权重，值越小权重越大
    * isnull 0
    */        @ApiModelProperty(value="商品权重，值越小权重越大",position=37)
    private Integer sortWeight;
    /**
    * 分享海报
    * isnull 0
    */        @ApiModelProperty(value="分享海报",position=38)
    private String poster;
    /**
    * 是否显示库存 0-不显示 1-显示
    * isnull 0
    */        @ApiModelProperty(value="是否显示库存 0-不显示 1-显示",position=39)
    private Object isShowStock;
    /**
    * 是否启用会员价 0-不启用 1-启用
    * isnull 0
    */        @ApiModelProperty(value="是否启用会员价 0-不启用 1-启用",position=40)
    private Object isMember;
    /**
    * 是否开启分销 0-不开启 1-开启
    * isnull 0
    */        @ApiModelProperty(value="是否开启分销 0-不开启 1-开启",position=41)
    private Object isDistribution;
    /**
    * 一级分销比例
    * isnull 0
    */        @ApiModelProperty(value="一级分销比例",position=42)
    private Object firstRatio;
    /**
    * 二级分销比例
    * isnull 0
    */        @ApiModelProperty(value="二级分销比例",position=43)
    private Object secondRatio;
    /**
    * 三级分销比例
    * isnull 0
    */        @ApiModelProperty(value="三级分销比例",position=44)
    private Object thirdRatio;
    /**
    * 是否置顶：0否；1是
    * isnull 0
    */        @ApiModelProperty(value="是否置顶：0否；1是",position=45)
    private Integer isTop;
    /**
    * 置顶天数
    * isnull 0
    */        @ApiModelProperty(value="置顶天数",position=46)
    private Integer topDays;
    /**
    * 活动库存
    * isnull 0
    */        @ApiModelProperty(value="活动库存",position=47)
    private Integer activityStock;
    /**
    * 活动价格
    * isnull 0
    */        @ApiModelProperty(value="活动价格",position=48)
    private BigDecimal activityPrice;
    /**
    * 发货地址省id
    * isnull 0
    */        @ApiModelProperty(value="发货地址省id",position=49)
    private Integer provinceId;
    /**
    * 发货地址市id
    * isnull 0
    */        @ApiModelProperty(value="发货地址市id",position=50)
    private Integer cityId;
    /**
    * 活动销量
    * isnull 0
    */        @ApiModelProperty(value="活动销量",position=51)
    private Integer activitySales;
    /**
    * 积分商城商品类型：0全积分；1积分+现金
    * isnull 0
    */        @ApiModelProperty(value="积分商城商品类型：0全积分；1积分+现金",position=52)
    private Integer commodityType;
        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
        
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
        
    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }
        
    public Integer getShopCateId() {
        return shopCateId;
    }

    public void setShopCateId(Integer shopCateId) {
        this.shopCateId = shopCateId;
    }
        
    public Integer getFirstCateId() {
        return firstCateId;
    }

    public void setFirstCateId(Integer firstCateId) {
        this.firstCateId = firstCateId;
    }
        
    public Integer getSecondCateId() {
        return secondCateId;
    }

    public void setSecondCateId(Integer secondCateId) {
        this.secondCateId = secondCateId;
    }
        
    public Integer getThirdCateId() {
        return thirdCateId;
    }

    public void setThirdCateId(Integer thirdCateId) {
        this.thirdCateId = thirdCateId;
    }
        
    public Integer getBrandId() {
        return brandId;
    }

    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
    }
        
    public Integer getUnitId() {
        return unitId;
    }

    public void setUnitId(Integer unitId) {
        this.unitId = unitId;
    }
        
    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }
        
    public Object getStatus() {
        return status;
    }

    public void setStatus(Object status) {
        this.status = status;
    }
        
    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }
        
    public String getVideo() {
        return video;
    }

    public void setVideo(String video) {
        this.video = video;
    }
        
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
        
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
        
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
        
    public Integer getSalesActual() {
        return salesActual;
    }

    public void setSalesActual(Integer salesActual) {
        this.salesActual = salesActual;
    }
        
    public Integer getClicks() {
        return clicks;
    }

    public void setClicks(Integer clicks) {
        this.clicks = clicks;
    }
        
    public Object getSpecType() {
        return specType;
    }

    public void setSpecType(Object specType) {
        this.specType = specType;
    }
        
    public BigDecimal getMaxPrice() {
        return maxPrice;
    }

    public void setMaxPrice(BigDecimal maxPrice) {
        this.maxPrice = maxPrice;
    }
        
    public BigDecimal getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(BigDecimal minPrice) {
        this.minPrice = minPrice;
    }
        
    public BigDecimal getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(BigDecimal marketPrice) {
        this.marketPrice = marketPrice;
    }
        
    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }
        
    public Object getExpressType() {
        return expressType;
    }

    public void setExpressType(Object expressType) {
        this.expressType = expressType;
    }
        
    public BigDecimal getExpressMoney() {
        return expressMoney;
    }

    public void setExpressMoney(BigDecimal expressMoney) {
        this.expressMoney = expressMoney;
    }
        
    public Integer getExpressTemplateId() {
        return expressTemplateId;
    }

    public void setExpressTemplateId(Integer expressTemplateId) {
        this.expressTemplateId = expressTemplateId;
    }
        
    public Object getIsRecommend() {
        return isRecommend;
    }

    public void setIsRecommend(Object isRecommend) {
        this.isRecommend = isRecommend;
    }
        
    public Object getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(Object auditStatus) {
        this.auditStatus = auditStatus;
    }
        
    public String getAuditRemark() {
        return auditRemark;
    }

    public void setAuditRemark(String auditRemark) {
        this.auditRemark = auditRemark;
    }
        
    public Integer getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }
        
    public Integer getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Integer updateTime) {
        this.updateTime = updateTime;
    }
        
    public Object getDel() {
        return del;
    }

    public void setDel(Object del) {
        this.del = del;
    }
        
    public Integer getStockWarn() {
        return stockWarn;
    }

    public void setStockWarn(Integer stockWarn) {
        this.stockWarn = stockWarn;
    }
        
    public String getColumnIds() {
        return columnIds;
    }

    public void setColumnIds(String columnIds) {
        this.columnIds = columnIds;
    }
        
    public Integer getSalesVirtual() {
        return salesVirtual;
    }

    public void setSalesVirtual(Integer salesVirtual) {
        this.salesVirtual = salesVirtual;
    }
        
    public Integer getSortWeight() {
        return sortWeight;
    }

    public void setSortWeight(Integer sortWeight) {
        this.sortWeight = sortWeight;
    }
        
    public String getPoster() {
        return poster;
    }

    public void setPoster(String poster) {
        this.poster = poster;
    }
        
    public Object getIsShowStock() {
        return isShowStock;
    }

    public void setIsShowStock(Object isShowStock) {
        this.isShowStock = isShowStock;
    }
        
    public Object getIsMember() {
        return isMember;
    }

    public void setIsMember(Object isMember) {
        this.isMember = isMember;
    }
        
    public Object getIsDistribution() {
        return isDistribution;
    }

    public void setIsDistribution(Object isDistribution) {
        this.isDistribution = isDistribution;
    }
        
    public Object getFirstRatio() {
        return firstRatio;
    }

    public void setFirstRatio(Object firstRatio) {
        this.firstRatio = firstRatio;
    }
        
    public Object getSecondRatio() {
        return secondRatio;
    }

    public void setSecondRatio(Object secondRatio) {
        this.secondRatio = secondRatio;
    }
        
    public Object getThirdRatio() {
        return thirdRatio;
    }

    public void setThirdRatio(Object thirdRatio) {
        this.thirdRatio = thirdRatio;
    }
        
    public Integer getIsTop() {
        return isTop;
    }

    public void setIsTop(Integer isTop) {
        this.isTop = isTop;
    }
        
    public Integer getTopDays() {
        return topDays;
    }

    public void setTopDays(Integer topDays) {
        this.topDays = topDays;
    }
        
    public Integer getActivityStock() {
        return activityStock;
    }

    public void setActivityStock(Integer activityStock) {
        this.activityStock = activityStock;
    }
        
    public BigDecimal getActivityPrice() {
        return activityPrice;
    }

    public void setActivityPrice(BigDecimal activityPrice) {
        this.activityPrice = activityPrice;
    }
        
    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }
        
    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }
        
    public Integer getActivitySales() {
        return activitySales;
    }

    public void setActivitySales(Integer activitySales) {
        this.activitySales = activitySales;
    }
        
    public Integer getCommodityType() {
        return commodityType;
    }

    public void setCommodityType(Integer commodityType) {
        this.commodityType = commodityType;
    }

        @Override
    public String toString() {
        return "{" +
                    " \"id\":" + id +
                                  " ,\"name\":" + name +
                            " ,\"code\":" + code +
                            " ,\"shopId\":" + shopId +
                            " ,\"shopCateId\":" + shopCateId +
                            " ,\"firstCateId\":" + firstCateId +
                            " ,\"secondCateId\":" + secondCateId +
                            " ,\"thirdCateId\":" + thirdCateId +
                            " ,\"brandId\":" + brandId +
                            " ,\"unitId\":" + unitId +
                            " ,\"supplierId\":" + supplierId +
                            " ,\"status\":" + status +
                            " ,\"image\":" + image +
                            " ,\"video\":" + video +
                            " ,\"remark\":" + remark +
                            " ,\"content\":" + content +
                            " ,\"sort\":" + sort +
                            " ,\"salesActual\":" + salesActual +
                            " ,\"clicks\":" + clicks +
                            " ,\"specType\":" + specType +
                            " ,\"maxPrice\":" + maxPrice +
                            " ,\"minPrice\":" + minPrice +
                            " ,\"marketPrice\":" + marketPrice +
                            " ,\"stock\":" + stock +
                            " ,\"expressType\":" + expressType +
                            " ,\"expressMoney\":" + expressMoney +
                            " ,\"expressTemplateId\":" + expressTemplateId +
                            " ,\"isRecommend\":" + isRecommend +
                            " ,\"auditStatus\":" + auditStatus +
                            " ,\"auditRemark\":" + auditRemark +
                            " ,\"createTime\":" + createTime +
                            " ,\"updateTime\":" + updateTime +
                            " ,\"del\":" + del +
                            " ,\"stockWarn\":" + stockWarn +
                            " ,\"columnIds\":" + columnIds +
                            " ,\"salesVirtual\":" + salesVirtual +
                            " ,\"sortWeight\":" + sortWeight +
                            " ,\"poster\":" + poster +
                            " ,\"isShowStock\":" + isShowStock +
                            " ,\"isMember\":" + isMember +
                            " ,\"isDistribution\":" + isDistribution +
                            " ,\"firstRatio\":" + firstRatio +
                            " ,\"secondRatio\":" + secondRatio +
                            " ,\"thirdRatio\":" + thirdRatio +
                            " ,\"isTop\":" + isTop +
                            " ,\"topDays\":" + topDays +
                            " ,\"activityStock\":" + activityStock +
                            " ,\"activityPrice\":" + activityPrice +
                            " ,\"provinceId\":" + provinceId +
                            " ,\"cityId\":" + cityId +
                            " ,\"activitySales\":" + activitySales +
                            " ,\"commodityType\":" + commodityType +
                  '}';
    }


}
